home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 1: Comms & Networking
/
Almathera Ten on Ten - Disc 1: Comms & Networking.iso
/
generalinfo
/
vikeybindings
< prev
next >
Wrap
Text File
|
1995-05-10
|
7KB
|
147 lines
Vi's a general-purpose Unix editor <it's been ported to many other
platforms>, and you're bound to run into it at some point on the Internet.
So, here's a quick reference guide to the keystrokes needed, - more info
can be obtained by 'man vi' at your Unix shell prompt.
command description flags (see below)
---------------+-----------------------+---------------------------------------
^A not defined
^B page backward FRNT
^C not defined
count ^D scroll dn 1/2page
count ^E scroll up
^F page forward FRNT
^G show file status
count ^H move left, like h MVMT
^I not defined
count ^J move down MVMT LNMD
^K not defined
^L redraw screen
count ^M mv front next ln MVMT FRNT LNMD
count ^N move down MVMT LNMD
^O not defined
count ^P move up MVMT LNMD
^Q not defined
^R redraw screen
^S not defined
^T not defined
count ^U scroll up 1/2page
^V not defined
^W not defined
^X not defined
count ^Y scroll down
^Z not defined
ESC not defined
^\ not defined
^] keyword is tag
^^ not defined
^_ not defined
count SPC move right,like l MVMT
! move run thru filter
" key select cut buffer
# not defined
$ move to rear MVMT INCL
% move to match MVMT INCL
& not defined
' key move to a mark MVMT FRNT LNMD NREL
count ( mv back sentence MVMT
count ) mv fwd sentence MVMT
* not defined
count + mv front next ln MVMT FRNT LNMD
count , reverse [fFtT] cmd MVMT
count - mv front prev ln MVMT FRNT LNMD
. repeat previous cmd
/ text forward search MVMT NREL
0 part of count? MVMT
1 part of count
2 part of count
3 part of count
4 part of count
5 part of count
6 part of count
7 part of count
8 part of count
9 part of count
: text run single EX cmd
count ; repeat [fFtT] cmd MVMT
< move shift text left SDOT
= not defined
> move shift text right SDOT
? text backward search MVMT NREL
@ not defined
count A inp append at EOL SDOT
count B move back Word MVMT
C inp change to EOL SDOT
D delete to EOL SDOT
count E move end of Word MVMT
count F key move bk to char MVMT
count G move to line # MVMT LNMD NREL
count H move to home row FRNT
count I inp insert at front SDOT
count J join lines SDOT
K look up keyword
count L move to last row FRNT
M move to mid row FRNT
N reverse prev srch MVMT
count O inp insert above line SDOT
P paste before
Q quit to EX mode
R inp overtype SDOT
count S inp change lines
count T key move bk to char MVMT
U Undo changes to current line
V not defined
count W move forward Word MVMT
count X delete to left SDOT
count Y yank text line
Z Z save file & exit
[ [ move back section MVMT LNMD NREL
\ not defined
] ] move fwd section MVMT LNMD NREL
^ move to front MVMT
_ not defined
` key move to mark MVMT NREL
count a inp append at cursor SDOT
count b move back word MVMT
c move change text SDOT
d move delete op SDOT
count e move end word MVMT
count f key move fwd for char MVMT
g not defined
count h move left MVMT
count i inp insert at cursor SDOT
count j move down MVMT LNMD
count k move up MVMT LNMD
count l move right MVMT
m key define a mark
n repeat prev srch MVMT
count o inp insert below line SDOT
p paste after
q not defined
count r key replace chars SDOT
count s inp subst N chars SDOT
count t key move fwd to char MVMT
u undo
v not defined
count w move fwd word MVMT
count x delete character SDOT
y move yank text
z key adjust scrn row
count { back paragraph MVMT LNMD
count | move to column NREL
count } fwd paragraph MVMT LNMD
~ upper/lowercase SDOT
DEL not defined
MVMT: can be used to define the extent of the ! < > c d y commands.
FRNT: leaves the cursor at the front of the line.
LNMD: when used with the ! < > c d y commands, whole lines will be yanked.
NREL: "non-relative" movement command, saves previous location as mark ''
SDOT: this command can be repeated by pressing the . key.